home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / basic / BasicInternalFrameTitlePane$NoFocusButton.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  794 b   |  26 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import javax.swing.AbstractButton;
  4. import javax.swing.JButton;
  5.  
  6. class BasicInternalFrameTitlePane$NoFocusButton extends JButton {
  7.    // $FF: synthetic field
  8.    private final BasicInternalFrameTitlePane this$0;
  9.  
  10.    public BasicInternalFrameTitlePane$NoFocusButton(BasicInternalFrameTitlePane var1) {
  11.       this.this$0 = var1;
  12.       ((AbstractButton)this).setFocusPainted(false);
  13.    }
  14.  
  15.    public boolean isFocusTraversable() {
  16.       return false;
  17.    }
  18.  
  19.    public boolean isOpaque() {
  20.       return true;
  21.    }
  22.  
  23.    public void requestFocus() {
  24.    }
  25. }
  26.